package com.heima.common.constants;

/**
 * ClassName: ArticleConstants
 * Description:
 * date: 2023/8/5 0005 19:02
 *
 * @author zHan
 */
public class ArticleConstants {

    // 加载更多
    public static final Short LOADTYPE_LOAD_MORE = 1;
    // 加载最新
    public static final Short LOADTYPE_LOAD_NEW = 2;
    // 默认的频道
    public static final String DEFAULT_TAG = "__all__";
    // 文章es同步主题
    public static final String ARTICLE_ES_SYNC_TOPIC = "article.es.sync.topic";

    public static final Integer HOT_ARTICLE_LIKE_WEIGHT = 3;
    public static final Integer HOT_ARTICLE_COMMENT_WEIGHT = 5;
    public static final Integer HOT_ARTICLE_COLLECTION_WEIGHT = 8;

    public static final String HOT_ARTICLE_FIRST_PAGE = "HOT_ARTICLE:hot_article_first_page_";
}
